//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.qst.crop.entity;

public class Recommend {
    private String userName;
    private String realName;
    private String phone;
    private String address;
    private String avatar;
    private Integer area;
    private String item;
    private String amount;
    private Integer num;

    public Recommend() {
    }

    public String getUserName() {
        return this.userName;
    }

    public String getRealName() {
        return this.realName;
    }

    public String getPhone() {
        return this.phone;
    }

    public String getAddress() {
        return this.address;
    }

    public String getAvatar() {
        return this.avatar;
    }

    public Integer getArea() {
        return this.area;
    }

    public String getItem() {
        return this.item;
    }

    public String getAmount() {
        return this.amount;
    }

    public Integer getNum() {
        return this.num;
    }

    public void setUserName(final String userName) {
        this.userName = userName;
    }

    public void setRealName(final String realName) {
        this.realName = realName;
    }

    public void setPhone(final String phone) {
        this.phone = phone;
    }

    public void setAddress(final String address) {
        this.address = address;
    }

    public void setAvatar(final String avatar) {
        this.avatar = avatar;
    }

    public void setArea(final Integer area) {
        this.area = area;
    }

    public void setItem(final String item) {
        this.item = item;
    }

    public void setAmount(final String amount) {
        this.amount = amount;
    }

    public void setNum(final Integer num) {
        this.num = num;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof Recommend)) {
            return false;
        } else {
            Recommend other = (Recommend)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label119: {
                    Object this$area = this.getArea();
                    Object other$area = other.getArea();
                    if (this$area == null) {
                        if (other$area == null) {
                            break label119;
                        }
                    } else if (this$area.equals(other$area)) {
                        break label119;
                    }

                    return false;
                }

                Object this$num = this.getNum();
                Object other$num = other.getNum();
                if (this$num == null) {
                    if (other$num != null) {
                        return false;
                    }
                } else if (!this$num.equals(other$num)) {
                    return false;
                }

                label105: {
                    Object this$userName = this.getUserName();
                    Object other$userName = other.getUserName();
                    if (this$userName == null) {
                        if (other$userName == null) {
                            break label105;
                        }
                    } else if (this$userName.equals(other$userName)) {
                        break label105;
                    }

                    return false;
                }

                Object this$realName = this.getRealName();
                Object other$realName = other.getRealName();
                if (this$realName == null) {
                    if (other$realName != null) {
                        return false;
                    }
                } else if (!this$realName.equals(other$realName)) {
                    return false;
                }

                label91: {
                    Object this$phone = this.getPhone();
                    Object other$phone = other.getPhone();
                    if (this$phone == null) {
                        if (other$phone == null) {
                            break label91;
                        }
                    } else if (this$phone.equals(other$phone)) {
                        break label91;
                    }

                    return false;
                }

                Object this$address = this.getAddress();
                Object other$address = other.getAddress();
                if (this$address == null) {
                    if (other$address != null) {
                        return false;
                    }
                } else if (!this$address.equals(other$address)) {
                    return false;
                }

                label77: {
                    Object this$avatar = this.getAvatar();
                    Object other$avatar = other.getAvatar();
                    if (this$avatar == null) {
                        if (other$avatar == null) {
                            break label77;
                        }
                    } else if (this$avatar.equals(other$avatar)) {
                        break label77;
                    }

                    return false;
                }

                label70: {
                    Object this$item = this.getItem();
                    Object other$item = other.getItem();
                    if (this$item == null) {
                        if (other$item == null) {
                            break label70;
                        }
                    } else if (this$item.equals(other$item)) {
                        break label70;
                    }

                    return false;
                }

                Object this$amount = this.getAmount();
                Object other$amount = other.getAmount();
                if (this$amount == null) {
                    if (other$amount != null) {
                        return false;
                    }
                } else if (!this$amount.equals(other$amount)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof Recommend;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $area = this.getArea();
        result = result * 59 + ($area == null ? 43 : $area.hashCode());
        Object $num = this.getNum();
        result = result * 59 + ($num == null ? 43 : $num.hashCode());
        Object $userName = this.getUserName();
        result = result * 59 + ($userName == null ? 43 : $userName.hashCode());
        Object $realName = this.getRealName();
        result = result * 59 + ($realName == null ? 43 : $realName.hashCode());
        Object $phone = this.getPhone();
        result = result * 59 + ($phone == null ? 43 : $phone.hashCode());
        Object $address = this.getAddress();
        result = result * 59 + ($address == null ? 43 : $address.hashCode());
        Object $avatar = this.getAvatar();
        result = result * 59 + ($avatar == null ? 43 : $avatar.hashCode());
        Object $item = this.getItem();
        result = result * 59 + ($item == null ? 43 : $item.hashCode());
        Object $amount = this.getAmount();
        result = result * 59 + ($amount == null ? 43 : $amount.hashCode());
        return result;
    }

    public String toString() {
        return "Recommend(userName=" + this.getUserName() + ", realName=" + this.getRealName() + ", phone=" + this.getPhone() + ", address=" + this.getAddress() + ", avatar=" + this.getAvatar() + ", area=" + this.getArea() + ", item=" + this.getItem() + ", amount=" + this.getAmount() + ", num=" + this.getNum() + ")";
    }
}
